Microinteractions by Dan Saffer

Microinteractions by Dan Saffer

Author:Dan Saffer
Language: eng
Format: epub
Tags: COMPUTERS / User Interfaces
ISBN: 9781491945919
Publisher: O’Reilly Media
Published: 2013-10-09T16:00:00+00:00


While the code behind algorithms is far too complex to get into here, defining the algorithm is. There are four major parts to any algorithm:

Sequence

What are the steps in the process? What item comes before what? Are there any conditionals, where an action is dependent on a particular condition? For a device like the Nike FuelBand, this might be something like: for every two steps (as measured by an accelerometer in the hardware), add one to NikeFuel.

Decisions

These are usually in the form of if ... then statements. For example, if the time is 00:00, then reset.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.